import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import { Field } from 'vant';

//引入全局样式
import './assets/style/golbal.less';
//引入头部/底部样式
import headed from './components/common/headed/'
import foot from './components/common/foot/'
import loginHead from './components/common/loginHead'
import loginFoot from './components/common/loginFoot'
import teaHead from './components/common/teaHead'


//导入axios
import axios from '../../classroom/src/common/http'
Vue.prototype.$http = axios


import store from './store/index'

Vue.use(ElementUI)
Vue.use(Field)
Vue.use(headed)
Vue.use(foot)
Vue.use(loginHead)
Vue.use(loginFoot)
Vue.use(teaHead)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
